<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
		#contain{
			width: 100%;
			height: 600px;
			display: flex;
		    border: 1px solid black;
			justify-content:center ; 
			align-items: center;
		}
			#imgdiv{
				width: 1600px;
				height: 100px;
				display: flex;
				
			}
			#imgdiv img{
				width: 100px;
				height: 100px;
				
			}
			#xs{
				/* justify-content: center; */
				width: 600px;
				display: flex;
				 align-items: center;
				border: 1px solid black;
				overflow: hidden;
			}
		</style>
	</head>
	<body>
		
		<div id="contain">
			<div id="xs">
			<div id="imgdiv">
				<img src="img/lunbo/1.jpeg" >
				<img src="img/lunbo/2.jpeg" >
				<img src="img/lunbo/3.jpeg" >
				<img src="img/lunbo/4.jpeg" >
				<img src="img/lunbo/5.jpeg" >
				<img src="img/lunbo/6.jpeg" >
				<img src="img/lunbo/7.jpeg" >
				<img src="img/lunbo/8.jpeg" >
				<img src="img/lunbo/9.jpeg" >
				<img src="img/lunbo/10.jpeg" >
				<img src="img/lunbo/1.jpeg" >
				<img src="img/lunbo/2.jpeg" >
				<img src="img/lunbo/3.jpeg" >
				<img src="img/lunbo/4.jpeg" >
				<img src="img/lunbo/5.jpeg" >
				<img src="img/lunbo/6.jpeg" >
			</div>	
			</div>
			
		</div>
		
	</body>
	<script type="text/javascript">
		          var imgcss=document.getElementById('imgdiv');
				    var marginleft=0;
					
				onload=function(){
					
					setInterval(function(){
						 marginleft--;
						 imgcss.style. marginLeft= marginleft+'px';
						 if( marginleft==-1000){
							  marginleft=0;
						 }
						
					},50)
					
				}
					
					
	</script>
</html>
